package com.hysf.project1;

import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class PersonBizImpl implements PersonBiz {

	private final PersonDao personDao;
	
	@Override
	public List<Person> findAll() {
		return personDao.findAll();
	}
}
